package com.lv.mapper;

import com.lv.common.dto.MenuList;
import com.lv.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 凉薄
 * @since 2022-01-06
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    List<MenuList> getMenuListByUserId(Long id);
    List<Menu> getAllMenu();
}
